//将多维数组转为一维数组
export const maToSa = (ma,filed='children',sa=[]) =>{
  ma.forEach(i=>{
      i.children
      ?sa.push(i) && maToSa(i.children,filed,sa)
      :sa.push(i)
  })
  return sa
};
